package com.last1mile.model;

import org.directwebremoting.annotations.DataTransferObject;
import org.directwebremoting.annotations.RemoteProperty;
import org.directwebremoting.convert.BeanConverter;

@DataTransferObject(converter = BeanConverter.class)
public class City {

    @RemoteProperty
    private String cityId;
    @RemoteProperty
    private String cityCnName;

    public City(String cityId, String cityCnName) {
        super();
        this.cityId = cityId;
        this.cityCnName = cityCnName;
    }

    @RemoteProperty
    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    @RemoteProperty
    public String getCityCnName() {
        return cityCnName;
    }

    public void setCityCnName(String cityCnName) {
        this.cityCnName = cityCnName;
    }
}
